package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 属性值回显对象 sub
 * 
 * @author yaozh
 * @date 2024-03-14
 */
public class Sub extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自动递增 */
    private Long subid;

    /** 阈值名称 */
    @Excel(name = "属性回显定义名称",width = 25)
    private String subname;

    /** 数据回显值信息 */
    private List<Subinfo> subinfoList;

    public void setSubid(Long subid) 
    {
        this.subid = subid;
    }

    public Long getSubid() 
    {
        return subid;
    }
    public void setSubname(String subname) 
    {
        this.subname = subname;
    }

    public String getSubname() 
    {
        return subname;
    }

    public List<Subinfo> getSubinfoList()
    {
        return subinfoList;
    }

    public void setSubinfoList(List<Subinfo> subinfoList)
    {
        this.subinfoList = subinfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subid", getSubid())
            .append("subname", getSubname())
            .append("subinfoList", getSubinfoList())
            .toString();
    }
}
